package day13.practice.test;

import lombok.Data;

/**
 * @Author juzipi
 * @Date 2021/6/29 11:01
 * @Info
 */
@Data
public class GeometricObject {//几何图形

    protected String color;
    protected double weight;

    public double getArea(){
        return 0.0;
    }


    public GeometricObject(String color, double weight) {
        this.color = color;
        this.weight = weight;
    }
}
